package com.xmy.cultivate.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xmy.cultivate.entity.StoreGoodsOrder;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 加订表 服务类
 * </p>
 *
 * @author hpiggy
 * @since 2024-07-30
 */
public interface IStoreGoodsOrderService extends IService<StoreGoodsOrder> {

    Integer getMaxLessonNum(Integer yearPart,
                            Integer quarterNum,
                            Long schoolId,
                            Integer yearClassId,
                            Long classTypeId,
                            Long subjectsId,
                            Integer lessonType,
                            Long goodsTypeId,
                            Integer status,
                            Integer type);

    IPage<StoreGoodsOrder> getOrderList(IPage<?> page,
                                        Integer yearPart,
                                        Integer quarterNum,
                                        Long schoolId,
                                        Integer yearClassId,
                                        Long classTypeId,
                                        Long subjectsId,
                                        Integer lessonType,
                                        Long goodsTypeId,
                                        Integer status,
                                        Integer type);

    List<StoreGoodsOrder> getOrderListAll(
            Integer yearPart,
            Integer quarterNum,
            Long schoolId,
            Integer yearClassId,
            Long classTypeId,
            Long subjectsId,
            Integer lessonType,
            Long goodsTypeId,
            Integer status,
            Integer type,
            Integer getType);
}
